home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / BOOPSI / GI1 / Include / gadgets / button.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-27  |  1.6 KB  |  60 lines

  1. #ifndef    GADGETS_BUTTON_H
  2. #define    GADGETS_BUTTON_H
  3.  
  4. /*
  5. **    $VER: button.h 42.1 (10.1.94)
  6. **    Includes Release 42.1
  7. **
  8. **    Definitions for the button BOOPSI class
  9. **
  10. **    (C) Copyright 1994-1999 Amiga, Inc.
  11. **    All Rights Reserved
  12. */
  13.  
  14. /*****************************************************************************/
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef UTILITY_TAGITEM_H
  21. #include <utility/tagitem.h>
  22. #endif
  23.  
  24. #ifndef INTUITION_GADGETCLASS_H
  25. #include <intuition/gadgetclass.h>
  26. #endif
  27.  
  28. /*****************************************************************************/
  29.  
  30. /* Additional attributes defined by the button.gadget class */
  31. #define BUTTON_Dummy        (TAG_USER+0x04000000)
  32.  
  33. #define    BUTTON_PushButton    (BUTTON_Dummy+1)
  34.     /* (BOOL) Indicate whether button stays depressed when clicked */
  35.  
  36. #define    BUTTON_Glyph        (BUTTON_Dummy+2)
  37.     /* (struct Image *) Indicate that image is to be drawn using BltTemplate */
  38.  
  39. #define    BUTTON_Array        (BUTTON_Dummy+3)
  40.     /* (LONG) Indicate that text or image pointer is an array */
  41.  
  42. #define    BUTTON_TextPen        (BUTTON_Dummy+5)
  43.     /* (LONG) Pen to use for text (-1 uses TEXTPEN) */
  44.  
  45. #define    BUTTON_FillPen        (BUTTON_Dummy+6)
  46.     /* (LONG) Pen to use for fill (-1 uses FILLPEN) */
  47.  
  48. #define    BUTTON_FillTextPen    (BUTTON_Dummy+7)
  49.     /* (LONG) Pen to use for fill (-1 uses FILLTEXTPEN) */
  50.  
  51. #define    BUTTON_BackgroundPen    (BUTTON_Dummy+8)
  52.     /* (LONG) Pen to use for fill (-1 uses BACKGROUNDPEN) */
  53.  
  54. #define    BUTTON_Current        (BUTTON_Dummy+9)
  55.     /* (LONG) Indicate which item in the array is current */
  56.  
  57. /*****************************************************************************/
  58.  
  59. #endif /* GADGETS_BUTTON_H */
  60.